<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
		<title>Gadget Metadata</title>
	</head>
	<body>
		<h1>Gadget Metadata</h1>
		
		<label>Country:</label>  <%= @context['country'] %><br/>
		<label>Language:</label>  <%= @context['language'] %><br/>
		<label>View:</label>  <%= @context['view'] %><br/>
		<label>Container:</label>  <%= @context['container'] %><br/>
		
		<h2>Gadgets</h2>
		<% @gadgets.each do |gadget| %>
			<label>url:</label>  <%= gadget['url'] %><br/>
			<label>moduleId:</label>  <%= gadget['moduleId'] %><br/><br/><br/>
		<% end %>
		
		<textarea rows="20" cols="80"><%= @xml_spec.source %></textarea>
		
		<%= @content %>
	</body>
</html>
